﻿<v:View x:Class="CPPEI.Coolzon.Theme.Default.MainView"
         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
         xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
         xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
         xmlns:v="clr-namespace:CPPEI.Coolzon.UI;assembly=CPPEI.Coolzon.UI"
         xmlns:mvc="clr-namespace:CPPEI.Coolzon.Theme.Default.MainViewControl"
         xmlns:wf="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
         xmlns:wfi="clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration"
         mc:Ignorable="d" 
         d:DesignHeight="768" d:DesignWidth="1024">
    <Grid x:Name="gridLayout">
        <Grid.Resources>
            <Style TargetType="Image" x:Key="Expand">
                <Setter Property="Source" Value="/CPPEI.Coolzon.Theme.Default;component/Images/left.png" />
            </Style>
            <Style TargetType="Image" x:Key="Close">
                <Setter Property="Source" Value="/CPPEI.Coolzon.Theme.Default;component/Images/left.png" />
            </Style>
            <Style x:Key="btnDisplayflow" TargetType="{x:Type Button}">
                <Setter Property="Template">
                    <Setter.Value>
                        <ControlTemplate TargetType="{x:Type Button}">
                            <Border x:Name="border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" SnapsToDevicePixels="true">
                                <ContentPresenter x:Name="contentPresenter" Focusable="False" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                            </Border>
                        </ControlTemplate>
                    </Setter.Value>
                </Setter>
            </Style>
        </Grid.Resources>
        <Grid.RowDefinitions>
            <!--页头-->
            <RowDefinition Height="66"></RowDefinition>
            <!--场景导航-->
            <RowDefinition Height="40"></RowDefinition>
            <!--内容页-->
            <RowDefinition></RowDefinition>
        </Grid.RowDefinitions>
        <mvc:Header x:Name="header" Grid.Row="0"></mvc:Header>
        <mvc:SceneNavigation x:Name="sceneNavigation" Grid.Row="1"></mvc:SceneNavigation>
        <Grid x:Name="_ctlGridCenter" Grid.Row="2">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"></ColumnDefinition>
                <ColumnDefinition Width="200" AllowDrop="True"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="*"></RowDefinition>
                <RowDefinition></RowDefinition>
            </Grid.RowDefinitions>
         
            <Grid Grid.Row="0" Grid.Column="0">
                <Border Name="_ctlRenderViewBorder" Background="Gray"/>
                <mvc:JSControlView x:Name="jsControl" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Panel.ZIndex="1" />
            </Grid>
            <mvc:SceneView x:Name="sceneView" Grid.Column="0" Grid.Row="1" Panel.ZIndex="1"/>
            <mvc:ControlPanel x:Name="controlPanel" Grid.Column="1" Grid.RowSpan="2" />
        </Grid>
    </Grid>
</v:View>
